﻿using System;

namespace Interface_ManTuLuoBA
{
    //存放错误信息的类
    public class Err
    {
        private String key;
        private String res;

        /// <summary>
        ///
        /// </summary>
        /// <param name="key">错误字段/错误字段意义</param>
        /// <param name="res">错误原因</param>
        public Err(string key, string res)
        {
            this.Key = key;
            this.Res = res;
        }

        public Err()
        {
        }

        public string Key { get => key; set => key = value; }
        public string Res { get => res; set => res = value; }
    }
}